.box {
  position: absolute;
  bottom: -80px;
  right: 20px;
  width: 300px;
  background-color: white;
  box-shadow: 0 0 4px 3px rgb(219, 219, 219);
  border-radius: 4px;
  padding: 4px;
  z-index: 999;

  > .item {
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;

    &:hover {
      background-color: #d3dfe9;
    }

    > .right {
      display: flex;
      align-items: center;
      color: #606266;
      > span {
        padding-left: 6px;
        font-size: 13px;
        font-weight: bold;
      }
    }
    > .left {
      color: #909399;
      font-size: 13px;
    }
  }
}

.routePathInputContainer {
  z-index: 100;
  height: 100%;
  width: 100%;
  position: relative;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: 0.5s;

  > .routePathInput {
    background-color: #f8f8f800;
    height: 100%;
    width: 100%;
    border: 0;
    display: flex;
    align-items: center;
    letter-spacing: 2px;
    color: gray;
    font-size: 15px;
    text-indent: 8px;
    outline: 0;
  }
}

.routePathList {
  z-index: 50;
  position: absolute;
  top: 0;
  width: 100%;
  padding-top: 36px;
  padding-bottom: 10px;
  background-color: #f8f8f8e8;
  border-radius: 18px 18px 8px 8px;
  box-shadow: 0 0 10px 2px rgba(167, 167, 167, 0.35);
  transition: 0.5s;

  > .divideTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 4px 10px;
    border-top: 1px solid rgba(206, 206, 206, 0.466);
    font-weight: bold;
    font-size: 14px;
    color: #606266;
  }

  > .pathItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    height: 30px;
    &:hover {
      background-color: #c8e0e4;
    }

    > .path {
      letter-spacing: 1px;
      flex: 1;
      cursor: pointer;
      &:active {
        color: blue;
      }
    }
    > .time {
      letter-spacing: 1px;
      font-size: 14px;
    }
    > .close {
      height: 100%;
      display: flex;
      align-items: center;
      padding-left: 14px;
      padding-right: 6px;

      &:hover {
        color: blue;
      }
      &:active {
        color: blue;
      }
    }
  }
}

.fade_enter_from,
.fade_leave_to {
  opacity: 0;
}

.fade_enter_active,
.fade_leave_active {
  transition: opacity 0.3s ease;
}

.fade_enter_to,
.fade_leave_from {
  opacity: 1;
}

.appAccessPath {
  // max-width: 420px;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: auto;
  position: relative;

  &::-webkit-scrollbar {
    display: none;
  }

  > .pathItem {
    height: calc(100% - 6px);
    background-color: #f8f8f8;
    border-radius: 14px;
    padding-left: 10px;
    padding-right: 6px;
    margin-left: 4px;
    margin-right: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #7db6bf;
    user-select: none;
    white-space: nowrap;
    flex: 0 0 auto; /* 防止项目被压缩 */

    &:hover {
      cursor: pointer;
      background-color: var(--theme-background);
    }

    > .label {
      margin-right: 8px;
      padding-bottom: 1px;
    }

    > i {
      cursor: pointer;

      &:hover {
        color: #ee6666;
      }
    }
  }

  > .arrowLeft {
    position: sticky;
    left: 0;
    height: 100%;
    padding: 0 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(
      to left,
      #ffffff18,
      var(--theme-background),
      var(--theme-background),
      var(--theme-background)
    );

    > i {
      cursor: pointer;

      &:hover {
        color: white;
      }
    }
  }

  > .arrowRight {
    position: sticky;
    right: 0;
    height: 100%;
    padding: 0 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(
      to right,
      #ffffff18,
      var(--theme-background),
      var(--theme-background),
      var(--theme-background)
    );

    > i {
      cursor: pointer;

      &:hover {
        color: white;
      }
    }
  }
}
